<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html><!-- 新增著作 -->
<html lang="zh-cn">
<head>
	<meta charset="utf-8"> 
	<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>

</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>新增著作</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="<%=request.getContextPath()%>/BookServlet" enctype="multipart/form-data"> 
    <input  type="hidden" name="method" value="add">	
    	<div  style="padding-left:20px ;padding-bottom: 20px;">
          <label>【基本信息】</label>
        </div>
      <div class="form-group">  	
        <div class="label">
          <label>著作名称：</label>
        </div>
        <div class="field l10" >
          <input type="text" class="input w100" value="" name="bname" data-validate="required:请输入著作名称" />
          <div class="tips"></div>
        </div>
      </div>
            <div class="form-group">  	
        <div class="label">
          <label>所属单位：</label>
        </div>
        <div class="field l10">
          <input type="text" class="input w50" value="" name="unit" data-validate="required:请输入ISBN" />
          <div class="tips"></div>
        </div>
      </div>
	  <ul class="list-inline"  style="padding-left: 40px;  padding-bottom: 25px;">
	  	<li>参编作者:</li>
	  	<li style="padding-right: 150px;">
	  	<div class="field" >
	            <input type="text" class="input" name="author" value="" />
	        </div>     
	          </li>
			 </ul>
<ul class="list-inline"  style="padding-left: 40px;  padding-bottom: 25px;">
			<li>著作类别:</li>
			<li style="padding-right: 150px;"><div class="field" >
			<input type="text" class="input" name="categories" value="" />
			</div>     
			 </li>
			<li>出版地:</li>
			<li  style="padding-left:15px;"><div class="field" >
			 <input type="text" class="input" name="published" value="" />
			</div>
		</ul>
<ul class="list-inline"  style="padding-left: 40px;  padding-bottom: 25px;">
	<li>出版日期:</li>
	<li style="padding-right: 200px;"><div class="field" >
          <input type="date" class="input" name="annual" value="" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" value=""  data-validate="required:日期不能为空" style="padding:10px!important; height:auto!important;border:1px solid #ddd!important;" />
       </div>     
        </li>
</ul>
 <div class="form-group">  	
        <div class="label">
          <label>审核状态：</label>
        </div>
        <div class="field l10" >
          <input type="text" class="input w100" value="" name="state" data-validate="required:请输入内容" />
          <div class="tips"></div>
        </div>
      </div>
      <div  style="padding-left:20px ;padding-bottom: 20px;">
          <label>【图片】</label>
          <input type="file" name="image" value="" />
        </div>
     
      <div  style="padding-left:20px ;padding-bottom: 20px;">
          <label>【备注信息】</label>
        </div>
        <div class="field" style="padding-left: 30px;padding-right: 30px;">
          <textarea class="input" name="note" style=" height:90px;"></textarea>
          <div class="tips"></div>
        </div>
      <div class="form-group" style="padding-top: 30px;">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
         <button class="button bg-main icon-check-square-o" type="submit"style="margin-left:250px; margin-right: 60px;"> 暂存</button>
          <button class="button bg-main icon-check-square-o" type="submit" > 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body></html>